package Ex241210;

public class Elephant extends AnimalVirtual {
    public Elephant(){
        super("大象");
    }

    @Override
    public void makeSound() {
        System.out.println(name + "正在发出刺耳的声音。（来人，把它静音！）");
    }
}